package com.jueban.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 文件存放目录
 * 从 application.yml 中读取 file path 的值
 */
@Data
@Component
@ConfigurationProperties(prefix = "file")
public class FilePath {

    private String path;

}
